Eliminating Proofs of Interference-freedom from Levin-Gries CSP Program Proofs
نویسنده
چکیده
The proof system for Hoare's CSP language proposed by Levin and Gries requires that for each predicate used in the proof of a process interference-freedom proofs be given--for each command that can be executed in parallel with the code of the process. In the worse case, the effort required to provide such proofs could be enormous. To address this proble!rl, Levin and Gries suggest the use of s)'Ilc1lronOlI.\'!y altered varialbes and uni\'ersal as~>'(.mimlS. III a recent paper, Prasad claimed thal the Levin-Gries system could be modified in a mann~i that eliminated the need for many interference-freedom proofs. Unfortunately, tllC system he proposed was incorrect. In this paper we propose a system that provides a simililr reduction in the number of proofs of non-interference required &I1d prove that it (s equivalent to the Levin-Gries system. In a recent paper [4], Prasad presented a new proof system ior Hoare's CSP language[l]. His system was based on an earlier system proposed by Levin and Gries [2], but improved on their system by reducing the amount of work required to prove noninterference between the proof of one process and the activities of other processes. Prasad's proof system has several technical flaws. Fortunately, however, his intuition that much of the effort required for non-interference proofs in the Levin-Gries system is unessential was correcl. In this paper we will discuss the problems with Prasad's system and pre~ent an approach that corrects these problems. Our discussion will be divided into 3 sections. In the next section, we will review the nature of the Levin-Gries system emphasizing the role of interference-freedom proofs. In section 2, we will discuss Prasad's system and explain one of its flaws. In section 3 we will present our alternative to his system. 1. The Levjn~Gries CSP Proof System In the proof system for CSP proposed by Levin and Gries, one can prove a statement of the form: by finding proofs of the form for all i that have properties which Levin and Gries caU satisfaction and interferencefreedom. Satisfaction involves assumptions made about inter-process communication in the proofs. The axioms for the communication statements of CSP used in the Levin-Gries system are
منابع مشابه
Automating the synthesis of functional programs
The task of constructing programs can be treated as a task of nding proofs in an appropriate logic. For recursive programs, the corresponding logic includes appropriate induction principles. We describe a system that automates program synthesis via theorem proving in this way, building on control strategies developed for veriication proofs using proof plans. This involves some extensions to the...
متن کاملThe Quest Goes on: A Survey of Proofsystems for Partial Correctness of CSP
Proofsystems for proving partial correctness of distributed processes which communicate through message-passing are discussed, using CSP as programming language. Of these the methods due to Levin & Gries [LG]; Apt, Francez & de Roever [AFR]; Lamport & Schneider [LS]; Soundararajan & Dahl [SO]; Zwiers, de Roe'.'er & van Emde Boas [ZRE] and Misra & Chandy [MC] are treated in detail (in that order...
متن کاملMay Testing, Non-interference, and Compositionality
This paper uses CSP to introduce a characterisation of non interference in terms of the deductions that may be made about high level processes by low level tests May testing yields classic noninference and has a concise formulation in CSP It is preserved by a wider range of composition oper ators than are normally considered in the context of non interference It turns out that the extensive lis...
متن کاملRavenscar Protected Objects: a Circus Semantics
The Ravenscar pro le is a restricted subset of the Ada 95 tasking model | designed to provide a certi able deterministic tasking model that supports schedulability analysis and meets tight memory constraints and performance requirements. Centre to Ravenscar is the use of Ada protected objects as the means for ensuring mutually exclusive access to data shared between di erent tasks. In this repo...
متن کاملMAVEN: modular aspect verification and interference analysis
Aspects are program modules that include descriptions of key events (called joinpoints) and code segments (called advice) to be executed at those key events when the aspect is bound (woven) to an underlying system. The MAVEN tool verifies the correctness of an aspect relative to its specification, independently of any specific underlying system to which it may be woven, and also allows establis...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013